package com.broker.service.impl;

import com.broker.mapper.BrokerMapper;
import com.broker.service.BrokerService;
import com.common.entity.broker.Broker;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrokerImpl implements BrokerService {

    @Autowired
    private BrokerMapper brokerMapper;

    @Override
    public List<Broker> findAll() {
        return brokerMapper.findAll();
    }
}
